package com.ax.center.service;

import com.ax.center.dto.ApiResponse;
import com.ax.center.entity.AnnouncementReceiver;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author zy
 * @date 2023/7/10 14:31
 */
public interface AnnouncementReceiverService extends IService<AnnouncementReceiver> {
    public void saveAll(List<AnnouncementReceiver> announcementUsers);

    public ApiResponse queryByUserId(Long id, String orderBy);

    public ApiResponse updateReadStatus(Long id,Long anId);

    public ApiResponse deleteById(Long id,Long anId);


}
